package bean;

public class Util {

	public static int toInt(String value){
		
		try {
			return Integer.parseInt(value);
		} catch (Exception e) {
			return 0;
			// TODO: handle exception
		}
		
	}
	
}
